Brad,
Just noticed something. When my app exits, I get the following dump, indicating there are memory leaks. Is it even possible for my app to generate these? Or is it coming from dotNet? If my app, any ideas how to find them?
Regards,
Ray L.
Detected memory leaks!
Dumping objects ->
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\plex.cpp(29) : {112} normal block at 0x07A06128, 244 bytes long.
Data: < v Da v > 20 76 A0 07 44 61 A0 07 FC 76 A0 07 02 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\plex.cpp(29) : {111} normal block at 0x07A07620, 244 bytes long.
Data: < <v > 00 00 00 00 3C 76 A0 07 00 00 00 00 01 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\plex.cpp(29) : {101} normal block at 0x07A07540, 164 bytes long.
Data: < Tu > 00 00 00 00 54 75 A0 07 00 00 00 00 00 00 00 00
{89} The thread 'Win32 Thread' (0x1388) has exited with code 0 (0x0).
normal block at 0x07A027C8, 53 bytes long.
Data: < 5 $ $ > 80 AD 35 07 24 00 00 00 24 00 00 00 01 00 00 00
{78} normal block at 0x07A025D0, 248 bytes long.
Data: < 9 $@> 98 CD 39 04 CD CD CD CD 00 00 00 00 00 00 24 40
{68} normal block at 0x07A05DA0, 248 bytes long.
Data: < 9 >@> 98 CD 39 04 CD CD CD CD 00 00 00 00 00 00 3E 40
Object dump complete.
Detected memory leaks!
Dumping objects ->
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {492} normal block at 0x073CCF58, 37 bytes long.
Data: <<N x > 3C 4E A4 78 14 00 00 00 14 00 00 00 01 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {488} normal block at 0x073CCA60, 28 bytes long.
Data: <<N x > 3C 4E A4 78 0B 00 00 00 0B 00 00 00 01 00 00 00
{487} client block at 0x073CCA18, subtype c0, 12 bytes long.
faulted while dumping object at $073CCA18, 12 bytes long
c:\kmotion428\kmotion_dotnet_interop\kmotion_dotnet_interop.cpp(1270) : {486} normal block at 0x07A70068, 173584 bytes long.
Data: <D > 44 BB 03 04 CD CD CD CD 00 00 00 00 CD CD CD CD
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {485} normal block at 0x073CC9C0, 28 bytes long.
Data: <<N x > 3C 4E A4 78 0B 00 00 00 0B 00 00 00 01 00 00 00
{484} client block at 0x073CC978, subtype c0, 12 bytes long.
faulted while dumping object at $073CC978, 12 bytes long
c:\kmotion428\kmotion_dotnet_interop\kmotion_dotnet_interop.cpp(1002) : {483} normal block at 0x073CC5B0, 904 bytes long.
Data: <8 ] > 38 BB 03 04 CD CD CD CD A0 5D A0 07 D0 EB 08 04
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {480} normal block at 0x073CC548, 37 bytes long.
Data: <<N x > 3C 4E A4 78 14 00 00 00 14 00 00 00 01 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {473} normal block at 0x073CC4F0, 28 bytes long.
Data: <<N x > 3C 4E A4 78 0B 00 00 00 0B 00 00 00 01 00 00 00
{472} client block at 0x073CC4A8, subtype c0, 12 bytes long.
faulted while dumping object at $073CC4A8, 12 bytes long
c:\kmotion428\kmotion_dotnet_interop\kmotion_dotnet_interop.cpp(150) : {471} normal block at 0x073CC448, 32 bytes long.
Data: < < > D0 BA 03 04 A8 C4 3C 07 01 00 CD CD B9 15 02 04
Object dump complete.
The program '[0xE0C] CNCController.exe: Managed' has exited with code 0 (0x0).
The program '[0xE0C] CNCController.exe: Native' has exited with code 0 (0x0).
--- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@...> wrote:
>
> Brad,
>
> What's really infuriating is the error messages it gives are completely misleading. It kept telling me I didn't have .NET 3.5 installed! When I tried to install it, I'd get an error dialog from the installer that took up have the page, and contained just the two words: "Setup error". NO other information! And it was already installed and working fine!
>
> I just today added to my app the ability to set axis parameters on-the-fly, and it updates the DSP, CoordMotion and Interpreter, all from a single data source. No more worries about different parts of the system using different parameters. If Tom can get to the bottom of the trajectory planner problem I'm having (it's not using the parameters I configure it with, and appears to end up with some crazy high acceleration for Z....), I will be in business! Everything else appears to be working quite nicely now.
>
> BTW =- Found another naming error in dotNet - What should be ReadLineTimeout is actually "ReadLineTimout" - missing an 'e'.
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> >
> > Everything works until the new .NET library is available in 4.29.. mu hu ha
> > ha hah!
> >
> >
> >
> >
> >
> > There are lots of tightened bolts and extra goodies, so I do believe it will
> > be work the effort to update.
> >
> >
> >
> > -Brad Murry
> >
> >
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On
> > Behalf Of himykabibble
> > Sent: Sunday, February 05, 2012 6:29 PM
> > To: DynoMotion@yahoogroups.com
> > Subject: [DynoMotion] Re: VS2008 Question
> >
> >
> >
> >
> >
> > OK, I've just learned something about the vagaries of .NET and VS2008.
> > VS2008 does not fully understand .NET 4.0, and will sometimes get confused
> > if you're running a project that uses it. This happened on the PC on my
> > machine yesterday, and it happened on my laptop today. I spent hours trying
> > to figure out what was wrong and how to fix it, with no joy. Then I stumbled
> > across a simple fix - Under Project->Properties->Application, I set the
> > target Framework to .NET 1.0, knowing full well it would break everything.
> > And boy did it! I then set it BACK to .NET 3.5, and now life is good, and
> > everything works as it should!
> >
> > Regards,
> > Ray L.
> >
> > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ,
> > "himykabibble" <jagboy@> wrote:
> > >
> > > Brad,
> > >
> > > Thanks to Tom, I got my app moved over to VS2008, so I can now debug down
> > into the DLLs (it appears VS2010 Express does not support this). It's all
> > working fine on my laptop, but I also need it working on the PC on my
> > machine. I copied over my entire KMotion428 tree, along with the project
> > tree for my app. However, when I try to open BuildAllLibs.sln, I get an
> > error message on KMotion_dotNet.csproj that reads:
> > >
> > > Unable to read the project file KMotion_dotNet.csproj
> > >
> > C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.CSharp.targets(132,9
> > ): The attribute "Returns" in element <Target> is unrecognized.
> > >
> > > I have had no success trying to understand what the problem is, much less
> > resolve it. I suspect it has something to do with the fact that VS2008 does
> > not seem to really "grok" .NET4.0, but rather only up to 3.5. But I don't
> > know how to fix this. It clearly CAN be fixed, since it is working on my
> > laptop.
> > >
> > > Regards,
> > > Ray L.
> > >
> >
>